.class Lrexsee/advertisement/RexseeAdBars$1;
.super Ljava/lang/Object;
.source "RexseeAdBars.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/advertisement/RexseeAdBars;->create(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/advertisement/RexseeAdBars;

.field private final synthetic val$adKey:Ljava/lang/String;

.field private final synthetic val$adVendor:Ljava/lang/String;

.field private final synthetic val$id:Ljava/lang/String;

.field private final synthetic val$style:Ljava/lang/String;


# direct methods
.method constructor <init>(Lrexsee/advertisement/RexseeAdBars;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/advertisement/RexseeAdBars$1;->this$0:Lrexsee/advertisement/RexseeAdBars;

    iput-object p2, p0, Lrexsee/advertisement/RexseeAdBars$1;->val$id:Ljava/lang/String;

    iput-object p3, p0, Lrexsee/advertisement/RexseeAdBars$1;->val$adVendor:Ljava/lang/String;

    iput-object p4, p0, Lrexsee/advertisement/RexseeAdBars$1;->val$adKey:Ljava/lang/String;

    iput-object p5, p0, Lrexsee/advertisement/RexseeAdBars$1;->val$style:Ljava/lang/String;

    .line 80
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 6

    .prologue
    .line 83
    new-instance v0, Lrexsee/advertisement/AdDiv;

    iget-object v1, p0, Lrexsee/advertisement/RexseeAdBars$1;->this$0:Lrexsee/advertisement/RexseeAdBars;

    # getter for: Lrexsee/advertisement/RexseeAdBars;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v1}, Lrexsee/advertisement/RexseeAdBars;->access$0(Lrexsee/advertisement/RexseeAdBars;)Lrexsee/core/browser/Browser;

    move-result-object v1

    iget-object v2, p0, Lrexsee/advertisement/RexseeAdBars$1;->val$id:Ljava/lang/String;

    iget-object v3, p0, Lrexsee/advertisement/RexseeAdBars$1;->val$adVendor:Ljava/lang/String;

    iget-object v4, p0, Lrexsee/advertisement/RexseeAdBars$1;->val$adKey:Ljava/lang/String;

    iget-object v5, p0, Lrexsee/advertisement/RexseeAdBars$1;->val$style:Ljava/lang/String;

    invoke-direct/range {v0 .. v5}, Lrexsee/advertisement/AdDiv;-><init>(Lrexsee/core/browser/Browser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 84
    .local v0, "adDiv":Lrexsee/advertisement/AdDiv;
    iget-object v1, p0, Lrexsee/advertisement/RexseeAdBars$1;->this$0:Lrexsee/advertisement/RexseeAdBars;

    # getter for: Lrexsee/advertisement/RexseeAdBars;->mLayout:Lrexsee/core/browser/clazz/RootViewInterface;
    invoke-static {v1}, Lrexsee/advertisement/RexseeAdBars;->access$1(Lrexsee/advertisement/RexseeAdBars;)Lrexsee/core/browser/clazz/RootViewInterface;

    move-result-object v1

    iget-object v2, v0, Lrexsee/advertisement/AdDiv;->styleSheet:Lrexsee/core/style/StyleSheet;

    iget-object v2, v2, Lrexsee/core/style/StyleSheet;->bar_position:Ljava/lang/String;

    iget-object v3, v0, Lrexsee/advertisement/AdDiv;->styleSheet:Lrexsee/core/style/StyleSheet;

    iget-object v3, v3, Lrexsee/core/style/StyleSheet;->index:Ljava/lang/String;

    const/4 v4, -0x1

    invoke-static {v3, v4}, Lrexsee/core/utilities/Utilities;->getInt(Ljava/lang/String;I)I

    move-result v3

    invoke-interface {v1, v2, v3, v0}, Lrexsee/core/browser/clazz/RootViewInterface;->addChild(Ljava/lang/String;ILandroid/view/View;)V

    .line 85
    iget-object v1, p0, Lrexsee/advertisement/RexseeAdBars$1;->this$0:Lrexsee/advertisement/RexseeAdBars;

    # getter for: Lrexsee/advertisement/RexseeAdBars;->mMap:Ljava/util/HashMap;
    invoke-static {v1}, Lrexsee/advertisement/RexseeAdBars;->access$2(Lrexsee/advertisement/RexseeAdBars;)Ljava/util/HashMap;

    move-result-object v1

    iget-object v2, p0, Lrexsee/advertisement/RexseeAdBars$1;->val$id:Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 86
    iget-object v1, p0, Lrexsee/advertisement/RexseeAdBars$1;->this$0:Lrexsee/advertisement/RexseeAdBars;

    const/4 v2, 0x1

    invoke-static {v1, v2}, Lrexsee/advertisement/RexseeAdBars;->access$3(Lrexsee/advertisement/RexseeAdBars;Z)V

    .line 87
    return-void
.end method
